{include file="public/header" /}
<body style="margin-bottom:70px;font-size:16px;">
	<div class="container">
		<div class="row clearfix">
			<div class="col-md-12 column h3 text-center">
				{$find['title']}
			</div>
			<div class="col-md-12 column">
				截止时间：{$find['class_end_date']}
			</div>
			<div class="col-xs-6 column">
				已报名数：<span class="text-danger">10</span>/{$find['people_num']}
			</div>
			<div class="col-xs-6 column text-right text-danger">
				<span>￥{$find['tuition']}</span>
			</div>
		</div>
	</div>

	<div style="height:15px;background-color:#f5f5f5;margin:10px 0;"></div>

	<div class="clearfix" style="margin-top:10px;font-size:14px;">
		<div class="col-md-12">代课老师</div>
		<div style="height:1px;border-top: solid #f9f9f9 1px;margin:10px 0;"></div>
		<div class="col-xs-6 text-muted">
			{if($find['user']['avatar'])}
				<img style="width:40px;height:40px;" src="{$find['user']['avatar']}" alt="头像"/>
			{else/}
				<img style="width:40px;height:40px;" src="/static/index/images/user.jpg" alt="头像"/>
			{/if}
			<span>{$find['teacher_name']}</span>
		</div>
		<div class="col-xs-6 text-right text-muted" style="margin-top:10px;">
			<span>{$find['school']['school_name']}</span>
		</div>
	</div>

	<div style="height:15px;background-color:#f5f5f5;margin:10px 0;"></div>

	<div class="clearfix" style="margin-top:10px;font-size:14px;">
		<div class="col-md-12">上课信息</div>
		<div style="height:1px;border-top: solid #f9f9f9 1px;margin:10px 0;"></div>
		
		<div class="col-md-12 column">
			<span class="glyphicon glyphicon-map-marker"></span> {$find['address']}
		</div>
		<div class="col-md-12 column" style="margin-top:10px;">
			<span class="glyphicon glyphicon-time"></span> {$find['class_time']}
		</div>
		<div class="col-md-12 column" style="margin-top:10px;">
			<span class="glyphicon glyphicon-hourglass"></span> 课时：{$find['class_hour']}课时
		</div>
	</div>

	<div style="height:15px;background-color:#f5f5f5;margin:10px 0;"></div>

	<div class="clearfix" style="margin-top:10px;font-size:14px;">
		<div class="col-md-12">课程介绍</div>
		<div style="height:1px;border-top:solid #f9f9f9 1px;margin:10px 0;"></div>
		<div class="col-md-12 column info">
			{if($find['intr'])}
				{foreach($find['intr_s'] as $intr_v)}
					<img src="{$intr_v}" alt="" />
				{/foreach}
			{/if}
		</div>
	</div>

	<div class="menu" style="padding-top:5px;">
		<div class="col-xs-3 text-center" onclick="go_url('/index.php/index/index/index')">
			<span class="glyphicon glyphicon-home"></span>
			<div class="menu_name">课程</div>
		</div>
		<div class="col-xs-9 text-center" onclick="go_url('/index.php/index/my/enroll?id={$id}')">
			<button type="button" class="btn btn-block btn-default btn-success" style="margin-top:6px;">报名</button>
		</div>
	</div>
{include file="public/tail" /}